package com.jushu.storbox.util;

public class ApplicationContext {

	private final String LOG_TAG = ApplicationContext.class.getName();

	private final static ApplicationContext instance = new ApplicationContext();

	private boolean redirectLoginSuccess = true;
	
	private boolean firstEntryThisTime = true;

	private ApplicationContext() {
		LogUtil.i(LOG_TAG);
	}

	public static ApplicationContext getInstance() {
		return instance;
	}

	public boolean isRedirectLoginSuccess() {
		return redirectLoginSuccess;
	}

	public void setRedirectLoginSuccess(boolean redirectLoginSuccess) {
		this.redirectLoginSuccess = redirectLoginSuccess;
	}

	public boolean isFirstEntryThisTime() {
		return firstEntryThisTime;
	}

	public void setFirstEntryThisTime(boolean firstEntryThisTime) {
		this.firstEntryThisTime = firstEntryThisTime;
	}

}
